package com.guanzi.big_data_mq_process.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guanzi.big_data_mq_process.model.dto.OrderDetailsDTO;
import com.guanzi.big_data_mq_process.model.query.OrderDetailsQuery;
import com.guanzi.big_data_mq_process.model.vo.OrderDetailsVO;
import com.guanzi.big_data_mq_process.model.entity.OrderDetails;
import com.guanzi.big_data_mq_process.util.PageResult;

import java.util.List;

/**
 * (OrderDetails) 接口
 *
 * @author xuguang
 * @since 2025-05-06 21:57:43
 */
public interface IOrderDetailsService extends IService<OrderDetails> {

    /**
     * 分页列表
     */
    PageResult<OrderDetailsVO> getPage(OrderDetailsQuery query);

    /**
     * 详情
     */
    OrderDetailsVO getInfo(String id);

    /**
     * 保存
     */
    Boolean saveOrderDetails(OrderDetailsDTO dto);

    /**
     * 删除数据
     */
    Boolean deleteByIdList(List<String> idList);

}
